<script setup>
import { useCounterStore } from '../stores/store'


const store = useCounterStore()
</script>

<template>
  <button @click="store.increment()">
    From B: {{ store.count }}
  </button>
</template>